package com.crm.dao;

import com.crm.model.Department;
import com.crm.model.PageBean;

import java.util.List;

public interface DepartmentDao {

    List<Department> list(PageBean pageBean, Department s_department);

    int count(Department s_department);

    void add(Department department);

    void update(Department department);

    void delete(int id);

    Department loadById(int id);
}
